<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/Statics/Home/image/djwy.ico" />
    <meta name="description" content="">
    <meta name="author" content="">
    <title>大集舞衣定制后台管理</title>
        
<style type="text/css">
  /*.pic{float:left;width:23%;margin:3px;border:6px groove #4D3631;border-radius:4%;}*/
  .panel-heading{height:40px;}
  .pic{float:left;width:23%;margin:3px;border:6px groove #4D3631;border-radius:4%;}
  .span{font-size:15px;}
  .btn{float:right;margin-top:-8px;margin-left:3px;}
  .btn-danger{margin-left:15px;}
  .clear{clear:both;}
</style>

    <!-- Bootstrap Core CSS -->
    <link href="/Statics/admin/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="/Statics/admin/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">

    <!-- Timeline CSS -->
    <link href="/Statics/admin/dist/css/timeline.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="/Statics/admin/dist/css/sb-admin-2.css" rel="stylesheet">

    <!-- Morris Charts CSS -->
    <link href="/Statics/admin/bower_components/morrisjs/morris.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="/Statics/admin/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="JavaScript:;">后台管理平台</a>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">
                
                
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-bell fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-comment fa-fw"></i> New Comment
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                    <span class="pull-right text-muted small">12 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-envelope fa-fw"></i> Message Sent
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-tasks fa-fw"></i> New Task
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>See All Alerts</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-alerts -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <!-- <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li> -->
                        <li class="divider"></li>
                        <li><a href="/index.php/Dzdjwyadmin/Index/logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <li class="sidebar-search">
                            <div class="input-group custom-search-form">
                                <input type="text" class="form-control" placeholder="Search...">
                                <span class="input-group-btn">
                                <button class="btn btn-default" type="button">
                                    <i class="fa fa-search"></i>
                                </button>
                            </span>
                            </div>
                            <!-- /input-group -->
                        </li>

                        <li>
                            <a href="<?php echo U('dzdjwyadmin/index/index');?>"><span class="glyphicon glyphicon-home" aria-hidden="true"></span> 后台首页</a>
                        </li>
                        
                        <li class="active">
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> 订单管理<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level collapse in" aria-expanded="true" style="">
                                <li>
                                    <a href="<?php echo U('dzdjwyadmin/index/order');?>">查看订单</a>
                                </li>
                                
                            </ul>
                            <!-- /.nav-second-level -->
                        </li>
                        
                        
                        
                    </ul>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>
        <!-- 后台中间部分 -->
        <div id="page-wrapper">
        

        
        

            
<!-- 模板引用地方 -->

	
	<div class="bs-example" data-example-id="panel-with-list-group">

    <div class="panel panel-default">
      <!-- Default panel contents -->
      <div class="panel-heading">订单：<span class="span"><?php echo ($data[0]['id']); ?></span>
      
      <button type="button" class="btn btn-danger">拒绝处理</button>
      <button type="button" class="btn btn-success"><?php $status=$data[0]['status']==2?'已完成':'未完成'; echo $status; ?></button>
      
      <?php  if($data[0]['status'] == 0 || $data[0]['status'] == 1){ ?>
        <button type="button" class="btn btn-primary"><?php echo $data[0]['status']==1?'已受理':'待受理'; ?></button>
      <?php
 } ?>
      
          <!-- str_replace([3,4],['已拒绝','拒绝受理'],3); -->
      <div class="clear"></div>
      </div>

      <!-- List group -->
      <ul class="list-group">
        <li class="list-group-item">申请人: <span class="span"><?php echo ($data[0]['username']); ?></span></li>
        <li class="list-group-item">电话号：<span class="span"><?php echo ($data[0]['phone']); ?></span></li>
        <li class="list-group-item">定制数量：<span class="span"><?php echo ($data["0"]["number"]); ?></span></li>
        <li class="list-group-item">创建时间：<span class="span"><?php echo ($data["0"]["ctime"]); ?></span></li>
        <li class="list-group-item">详细地址：<span class="span"><?php echo ($data["0"]["address"]); ?></span></li>
        <li class="list-group-item">
        	<p>参考定制图片区域：</p>
        <?php  foreach ($data[0]['photo'] as $k => $v) { ?>
          <img class='pic' src="/Statics/<?php echo ($v); ?>" alt="暂无图片信息" />
        <?php  } ?>
	        <!-- img class='pic' src="/Statics/Uploads\2017-03-21/1.jpg" alt="">
	        <img class='pic' src="/Statics/Uploads\2017-03-21/2.jpg" alt="">
	        <img class='pic' src="/Statics/Uploads\2017-03-22/58d23adaae1f4.jpg" alt="">
          <img class='pic' src="/Statics/Uploads\2017-03-23/58d34236b38fa.jpg" alt="">
	        <img class='pic' src="/Statics/Uploads\2017-03-23/58d34236b40ca.jpg" alt=""> -->
	        <div class='clear'></div>
        </li>
        <li class="list-group-item">定制需求：<span class="span"><?php echo ($data["0"]["need"]); ?></span></li>
      </ul>
    </div>
  </div>





        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="/Statics/admin/bower_components/jquery/dist/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="/Statics/admin/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="/Statics/admin/bower_components/metisMenu/dist/metisMenu.min.js"></script>

    <!-- Morris Charts JavaScript -->
    <script src="/Statics/admin/bower_components/raphael/raphael-min.js"></script>
    <script src="/Statics/admin/bower_components/morrisjs/morris.min.js"></script>
    <script src="/Statics/admin/js/morris-data.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="/Statics/admin/dist/js/sb-admin-2.js"></script>

</body>

    <!-- js demo -->
  <script type="text/javascript" src='/apps/dzdjwyadmin/common/js/seeOrder_status.js'></script>
  <script type="text/javascript">
    
  </script>

</html>